package com.tuyrt.hi.hiitem.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import com.tuyrt.hi.hiitem.R

/**
 * author: Administrator on 2021/5/31.
 * desc:
 */
class FirstFragment : Fragment() {

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
      val view =  inflater.inflate(R.layout.fragment_first,container,false)
        val textview = view.findViewById<TextView>(R.id.tv_text)
        textview.text = "this is a first page: ${System.currentTimeMillis()}"
        return view
    }
}